package copy.express.pojo;

import copy.express.pojo.type.Type;

public class Node implements NodeType{

    private Object value;
    private Type type;

    public Node(Object v,Type t) {
        this.value = v;
        type = t;
    }
    public Object getValue(){
        return value;
    }
    public String getStringValue(){
        return value.toString();
    }


    public void setValue(Object value) {
        this.value = value;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }
}
